# 99乘法表
'''
1*1=1
1*2=2 2*2=4
1*3=3 2*3=6 3*3=9
'''
for i in range(1, 10):
    for j in range(1, i+1):
        print("%d*%d=%d" %(j, i, (j * i)), end='\t')
    print()

# 等腰三角形
'''
*
***
'''
n = 3
for i in range(n):
    print(' ' * (n - i - 1)+ '*' * (2 * i + 1), end='')
    print()
